class Rectangle implements ShapeArea{
private double height;
private double width;
public Rectangle(double w, double h){
this.width = w;
this.height = h;
	}
public double getArea() {
return height * width;
}
public double getPerimeter() {
return 3 * (height + width);
}
public String toString(){
return "width=" + width + ",height=" + height + ",perimeter=" + getPerimeter() + ",area" + getArea();
}
}


